﻿using System.Collections.Generic;
using Data.Common;
using Data.Model;
using Data.ViewModel;

namespace DataAccess.BikeManage
{
    public interface ILockArea
    {
        ResultInfo<IList<jsh_Area>> GetLockArea(int areaId);
        ResultInfo<PagingDataSet<LockAreaView>> GetLockAreas(int pageIndex, int pageSize, string areaName);
        ResultInfo<int> CreateOrUpdateLockArea(jsh_Area area);
        ResultInfo<bool> DeleteLockArea(int id);
    }
}